package com.wechat.service.cmds.msg;

import java.util.concurrent.CompletableFuture;

import com.swak.annotation.Flux;
import com.wechat.annotation.Cmd;
import com.wechat.command.Command;
import com.wechat.command.CommandResult;
import com.wechat.command.Commands;
import com.wechat.network.NetworkChannel;

/**
 * 定义命令处理器
 * 
 * @author 618lf
 */
@Flux
@Cmd(command = Commands.Msg_Req_Image, name = "处理图片")
public class ImageMsgHandler extends AbstractMsgHandler {

	/**
	 * 处理图片消息
	 * 
	 * @param command
	 * @return
	 */
	@Override
	public CompletableFuture<CommandResult> handle(NetworkChannel channel, Command command) {
		return CompletableFuture.completedFuture(CommandResult.SUCCESS);
	}
}
